package com.lq.payment.feign;

import com.lq.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "order-service")
public interface OrderFeignClient {

    @GetMapping("/orders/{id}")
    Result getOrderById(@PathVariable("id") Long id);
}